package entity

import (
	"cooke-home/common/model/base_entity"
)

type StockEntity struct {
	base_entity.BaseEntity
	StockID       int64   `gorm:"primaryKey;autoIncrement" json:"stock_id"`
	CommodityName string  `gorm:"type:varchar(255)" json:"commodity_name"`
	Number        int     `gorm:"type:varchar(255)" json:"number"`
	Price         float64 `gorm:"type:varchar(255)" json:"price"`
	Unit          int     `gorm:"type:varchar(255)" json:"unit"`
}
